package cn.iocoder.yudao.module.system.convert.subjectcombination;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.system.controller.admin.subjectcombination.vo.*;
import cn.iocoder.yudao.module.system.dal.dataobject.subjectcombination.SubjectCombinationDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 选科组合 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface SubjectCombinationConvert {

    SubjectCombinationConvert INSTANCE = Mappers.getMapper(SubjectCombinationConvert.class);

    SubjectCombinationDO convert(SubjectCombinationCreateReqVO bean);

    SubjectCombinationDO convert(SubjectCombinationUpdateReqVO bean);

    SubjectCombinationRespVO convert(SubjectCombinationDO bean);

    List<SubjectCombinationRespVO> convertList(List<SubjectCombinationDO> list);

    PageResult<SubjectCombinationRespVO> convertPage(PageResult<SubjectCombinationDO> page);

    List<SubjectCombinationExcelVO> convertList02(List<SubjectCombinationDO> list);

}